package com.winit.openapi.oauth.vo;

import java.util.List;

import com.winit.openapi.oauth.entity.BaseEntity;

public class APIClientVo extends BaseEntity {

    private static final long         serialVersionUID = -4226183676896892510L;

    /**
     * 应用所属的开发者ID
     */
    private Long                      developerId;

    /**
     * 应用名称
     */
    private String                    clientName;

    /**
     * 应用code，此code就是调用API时的平台值platform,每个CLIENT指定一个，有WINIT分配。
     */
    private String                    clientCode;
    /**
     * 应用Key
     */
    private String                    clientKey;

    /**
     * 应用密匙
     */
    private String                    clientSecret;
    /**
     * 类型
     */
    private String                    clientType;

    /**
     * 回调URL
     */
    private String                    redirectUrl;
    /**
     * 是否使用默认URL
     */
    private String                    isDefaultUrl;

    /**
     * logo图标地址
     */
    private String                    logoImageUri;

    /**
     * 授权链接地址
     */
    private String                    clientAuthUrl;

    /**
     * 审核状态Y：审核通过 N：审核不通过
     */
    private String                    status;
    /**
     * 应用说明
     */
    private String                    comment;

    /**
     * 应用上绑定的用户列表
     */
    private List<UserAuthorizationVo> userList;

    public Long getDeveloperId() {
        return developerId;
    }

    public void setDeveloperId(Long developerId) {
        this.developerId = developerId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientCode() {
        return clientCode;
    }

    public void setClientCode(String clientCode) {
        this.clientCode = clientCode;
    }

    public String getClientKey() {
        return clientKey;
    }

    public void setClientKey(String clientKey) {
        this.clientKey = clientKey;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<UserAuthorizationVo> getUserList() {
        return userList;
    }

    public void setUserList(List<UserAuthorizationVo> userList) {
        this.userList = userList;
    }

    public String getLogoImageUri() {
        return logoImageUri;
    }

    public void setLogoImageUri(String logoImageUri) {
        this.logoImageUri = logoImageUri;
    }

    public String getClientAuthUrl() {
        return clientAuthUrl;
    }

    public void setClientAuthUrl(String clientAuthUrl) {
        this.clientAuthUrl = clientAuthUrl;
    }

    public String getIsDefaultUrl() {
        return isDefaultUrl;
    }

    public void setIsDefaultUrl(String isDefaultUrl) {
        this.isDefaultUrl = isDefaultUrl;
    }

}
